//定义操作类型
import { ADDNAME,Id, ADDNAMELIST, QUEUEINFO, TRUCKLIST, POUNDINFO, ELECTINFO, BURNTINFO,ROLE } from './action-type';

export const addNameCreater = data => ({
    type: ADDNAME,
    data
})
export const addNameListCreater = data => ({
    type: ADDNAMELIST,
    data
})
export const addQueueInfoCreater = data => ({
    type: QUEUEINFO,
    data
})

export const addTrucklist = data => ({
    type: TRUCKLIST,
    data
})

export const addPoundInfoCreater = data => ({
    type: POUNDINFO,
    data
})

export const addElectInfoCreater = data => ({
    type: ELECTINFO,
    data
})

export const addBurntInfoCreater = data => ({
    type: BURNTINFO,
    data
})

export const addRole = data => ({
    type:ROLE,
    data
})

export const addId = data => ({
    type:Id,
    data
})
